package com.neusoft.neuiotms.dcam.workflow.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcam.workflow.model.RukuFinanceSL;

public interface RukuFinanceSLRepository extends JpaRepository<RukuFinanceSL, Long>, CustomizedRukuFinanceSLRepository {

    RukuFinanceSL findByTaskId(String taskId);

    RukuFinanceSL findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    List<RukuFinanceSL> findByWorkOrderNum(String workOrderNum);

    RukuFinanceSL findTopByWorkOrderNumOrderByCreateTimeDesc(String workOrderNum);
}
